package cn.tedu.zx.product.webapi.mapper;


import cn.tedu.zx.pojo.court.entity.Album;
import cn.tedu.zx.pojo.court.entity.Court;
import cn.tedu.zx.pojo.court.vo.AlbumDetailsVO;
import cn.tedu.zx.pojo.court.vo.AlbumListVO;
import cn.tedu.zx.pojo.court.vo.CourtDetailsVo;
import cn.tedu.zx.pojo.court.vo.CourtListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
/*继承BaseMapper后可以通过注解使用baseMapper中准备好的增删改查方法*/
public interface CourtMapper extends BaseMapper<Court> {
    List<CourtListVo> listAlbum();
    CourtDetailsVo selectDetailsById(Long Id);

    List<CourtListVo> list();
}
